/**
 * Created by JetBrains PhpStorm.
 * User: Xnfy520@gmail.com
 * Date: 12-3-10
 * Time: 下午6:45
 */
$(function(){
    var org = $("#systemset form").serialize();
    $("#systemset form").submit(function(){
        var dat = $("#systemset form").serialize();
        var datas = $("#systemset form").serializeArray();
        $("#right-title").css("background-color","yellow");
        if(dat==org){
            alert('没有内容修改');
        }else{
            $.post(APP+'/Index/modifysiteinfo',datas,function(data){
                alert(data);
                window.location=APP+"/Index/systemset";
            });
        }

        //window.location=APP+'/Index/index';
     });


});
